package com.ruoyi.tjbb.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 视频操作次数对象 sys_tjbb_spczcs
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
public class SysTjbbSpczcs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 操作次数 */
    @Excel(name = "操作次数")
    private String operateTimes;

    /** 流量 */
    @Excel(name = "流量")
    private String traffic;

    /** ID */
    private Long id;

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setOperateTimes(String operateTimes) 
    {
        this.operateTimes = operateTimes;
    }

    public String getOperateTimes() 
    {
        return operateTimes;
    }
    public void setTraffic(String traffic) 
    {
        this.traffic = traffic;
    }

    public String getTraffic() 
    {
        return traffic;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("operateTimes", getOperateTimes())
            .append("traffic", getTraffic())
            .append("id", getId())
            .toString();
    }
}
